﻿@model IEnumerable<MyPSDALayer.CaseBas>  

<p>
    @Html.ActionLink("新增", "Create")
</p>
<table class="tableBorder">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.CaseID)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CaseName)
        </th>      
        <th>
            @Html.DisplayNameFor(model => model.TypeName)
        </th>       
        <th>
            @Html.DisplayNameFor(model => model.IsIndex)
        </th>       
        <th>
            @Html.DisplayNameFor(model => model.CreateBy)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CreateDate)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ModifyBy)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ModifyDate)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.CaseID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CaseName)
        </td>       
        <td>
            @Html.DisplayFor(modelItem => item.TypeName)
        </td>       
        <td>
            @Html.DisplayFor(modelItem => item.IsIndex)
        </td>        
        <td>
            @Html.DisplayFor(modelItem => item.CreateBy)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CreateDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ModifyBy)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ModifyDate)
        </td>
        <td>
            @Html.ActionLink("编辑", "Edit", new { id=item.CaseID}) |            
            @Html.ActionLink("删除", "Delete", new {id=item.CaseID})
        </td>
    </tr>
}

</table>
